#define  _CRT_SECURE_NO_WARNINGS
#include <iostream>

#include "InsertSort.hpp"
#include "ShellSort.hpp"
#include "BubbleSort.hpp"
#include "SelectSort.hpp"
#include "HeapSort.hpp"
#include "QuickSort.hpp"
#include "MergerSort.hpp"
#include "CountSort.hpp"

void PrintArray(const std::vector<int>& arr)
{
	for (auto num : arr)
		std::cout << num << " ";
	std::cout << std::endl;
}
int main()
{
	std::vector<int> v{ 100, 200, 5, 12, 60, 13, 66, 32, 14, 99 };
	//std::vector<int> v{ 1,2,3,4,5 };
	//InsertSort(v);
	//ShellSort(v);
	//BubbleSort(v);
	//SelectSort(v);
	//HeapSort(v);
	//QuickSort(v);
	//QuickSortNonR(v);
	//MergerSort(v);
	//MergerSortNonR(v);
	CountSort(v);
	PrintArray(v);
	return 0;
}